var config  = {
    'dom_delay'   : 500,
    'prefix_url'  : '/server/index.php/Admin',
    'prefix_cache': 'heart_admin_',
    'prefix_data' : 'heart_data_',
    'host_name' 	: 'http://'+ window.location.host,
    'server_dir'	: 'http://'+ window.location.host + '/server'
};

//Angularjs初始化
var app     = angular.module('app', ['ngRoute','ngSanitize']);